ci: make Codex review repair single-pass#558
Conversation
📝 WalkthroughWalkthroughCodex auto-resolve now performs single-pass, pull-request-scoped deduplication and closes only explicitly authorized review threads using a resolved-disposition marker. Workflow validation, repository guidance, and tests enforce the updated behavior. ChangesCodex thread resolution
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Codex trusted connector bot
participant GitHub Actions workflow
participant GitHub GraphQL API
Codex trusted connector bot->>GitHub Actions workflow: post marker-prefixed disposition reply
GitHub Actions workflow->>GitHub GraphQL API: locate matching review thread
GitHub Actions workflow->>GitHub GraphQL API: call resolveReviewThread
GitHub GraphQL API-->>GitHub Actions workflow: return resolution result or error
Possibly related PRs
Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error, 1 warning)
✅ Passed checks (9 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Summary
Why
The previous head-scoped three-cycle flow could repeatedly review and repair the same pull request. This makes the lifecycle deterministic and closes completed threads without creating another review loop.
Validation
npm run check:codex-autofix-workflownpm run check:github-actionsnpm run test -- tests/codex-autofix-workflow.test.ts(22 passed)git diff --checkNo hosted workflow was triggered or rerun during local validation.